{% extends base.html %}

{% block body %}
    
    {% include "note/base_title.html" %}
    
    <form method="POST" action="">
        <div style="padding-top:20px;">
            <span>标题</span> 
            <input type="text" class="mid-text" name="name" value="{{name}}" style="width:200px;"/>
            <div>
                <span>类型</span>
                <input type="radio" name="type" value="md" checked>Markdown
                <input type="radio" name="type" value="html">富文本
            </div>
        </div>
        <div style="padding-top:20px;">
            <button class="mid-text">添加</button>
        </div>
        <p style="color: red;">{{error}}</p>
    </form>
{% end %}